<template>
	<div id="app">
		<router-view></router-view>
		<van-tabbar v-model="active"  route border :placeholder =true>
			<van-tabbar-item icon="shop-o" to="/">
				首页
			</van-tabbar-item>
			<van-tabbar-item icon="records" to="/list">
				列表
			</van-tabbar-item>
			<van-tabbar-item icon="shopping-cart-o" to="/shopcar">
				购物车
			</van-tabbar-item>
			<van-tabbar-item icon="contact" to="/user">
				会员中心
			</van-tabbar-item>
		</van-tabbar>
	</div>
</template>

<script>
	export default {
		name: 'App',
		data() {
			return {
				active: 0
			}
		}
	}
</script>

<style>

</style>
